home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / catD / wakeup.z / wakeup
Encoding:
Text File  |  2002-10-03  |  3.2 KB  |  66 lines

  1.  
  2.  
  3.  
  4. wwwwaaaakkkkeeeeuuuupppp((((DDDD3333))))                                                          wwwwaaaakkkkeeeeuuuupppp((((DDDD3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _wwww_aaaa_kkkk_eeee_uuuu_pppp - resume suspended process execution
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
  14.      _vvvv_oooo_iiii_dddd _wwww_aaaa_kkkk_eeee_uuuu_pppp_((((_cccc_aaaa_dddd_dddd_rrrr______tttt _e_v_e_n_t_))))_;;;;
  15.  
  16.    AAAArrrrgggguuuummmmeeeennnnttttssss
  17.      _e_v_e_n_t     Address that was passed to the corresponding call to _ssss_llll_eeee_eeee_pppp(D3)
  18.                which caused the process to be suspended.
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      _wwww_aaaa_kkkk_eeee_uuuu_pppp awakens all processes sleeping on the address specified by _e_v_e_n_t
  22.      and makes them eligible for scheduling.
  23.  
  24.    RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
  25.      None
  26.  
  27. UUUUSSSSAAAAGGGGEEEE
  28.      The same _e_v_e_n_t argument must be used for corresponding calls to _ssss_llll_eeee_eeee_pppp and
  29.      _wwww_aaaa_kkkk_eeee_uuuu_pppp.  It is recommended for code readability and for efficiency to
  30.      have a one-to-one correspondence between events and _ssss_llll_eeee_eeee_pppp addresses.
  31.  
  32.      Whenever a driver returns from a call to _ssss_llll_eeee_eeee_pppp, it should test to ensure
  33.      that the event for which the driver slept actually occurred.  There is an
  34.      interval between the time the process that called _ssss_llll_eeee_eeee_pppp is awakened and
  35.      the time it resumes execution where the state forcing the _ssss_llll_eeee_eeee_pppp may have
  36.      been reentered.  This can occur because all processes waiting for an
  37.      event are awakened at the same time.  The first process selected for
  38.      execution by the scheduler usually gains control of the event.  All other
  39.      processes awakened should recognize that they cannot continue and should
  40.      reissue the _ssss_llll_eeee_eeee_pppp call.
  41.  
  42.    LLLLeeeevvvveeeellll
  43.      Base or Interrupt.
  44.  
  45.    SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
  46.      Does not sleep.
  47.  
  48. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  49.      _ssss_llll_eeee_eeee_pppp(D3)
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                                         PPPPaaaaggggeeee 1111
  62.  
  63.  
  64.  
  65.